package com.wr.modules.file.domain.sys.file;

import cn.mybatis.mp.db.IdAutoType;
import cn.mybatis.mp.db.annotations.Table;
import cn.mybatis.mp.db.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author MyPC
 */
@Data
@Table("sys_file")
public class SysFile {
    @TableId(value = IdAutoType.AUTO)
    private String fileId;
    private String fileType;
    private String uploadType;
    private String oldName;
    private String newName;
    private String fileSuffix;
    private String relativePath;
    private String absolutePath;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createTime;
    private String remark;
}
